package com.fly.bean.po;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;

import java.time.LocalDateTime;

@Data
@TableName("t_user") // 对应数据库表名
@AllArgsConstructor
public class UserPo {
    @TableId(type = IdType.AUTO)
    private Long id; // 主键
    private String code;
    private String name;
    private String age;
    private String gender;
    private String height;
    private String address;
    private LocalDateTime createTime;
    private LocalDateTime updateTime;

    public UserPo() {
    }
}